
<%
	/**
	 添加收货地址
	 **/
%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<title>添加收货地址</title>
		<link rel="stylesheet" href="/safeai/css/safeai/customeViewStyle.css"
			type="text/css" />
		<link rel="stylesheet"
			href="/safeai/css/safeai/customeInfoListStyle.css" type="text/css" />
		<%@ include file="/pages/safeai/view/common/taglib.jsp"%>
	</head>
	<body>
		<%@ include file="/pages/safeai/view/common/head.jsp"%>
		<DIV class=block>

			<STYLE>
BODY {
	FONT-FAMILY: Arial, Helvetica, sans-serif;
	FONT-SIZE: 12px
}
</STYLE>

			<DIV style="MARGIN: auto; WIDTH: 950px">
				<DIV class=MemberCenter>
					<jsp:include page="/pages/safeai/membercenter/memberCenterHead.jsp">
						<jsp:param name="currentMenuChoice" value="receiveaddr" />
					</jsp:include>
					<jsp:include page="/pages/safeai/membercenter/memberCenterLeft.jsp">
						<jsp:param name="currentMenuChoice" value="receiveaddr" />
					</jsp:include>
					<!-- begin------------------------------------ -->
					<DIV class=MemberMain>
						<DIV style="MARGIN-RIGHT: 175px">
							<DIV class=title>
							<logic:equal value="modify" name="operator">
								修改收货地址
							</logic:equal>
							<logic:equal value="add" name="operator">
								添加收货地址
							</logic:equal>
							</DIV>
							
							<FORM id=member_addr class=section method=post
								action="/safeai/front/userinfo.do" extra="subMemAddr">
								<DIV class=FormWrap>
									<DIV class=division>
										<TABLE class=forform border=0 cellSpacing=0 cellPadding=0
											width="100%">
											<TBODY>
												<TR>
													<TH>
														<EM>*</EM>收货人：
													</TH>
													<TD>
														<INPUT id=name class="x-input inputstyle" size=30 value="${consigneehistory.consignee }"
															type=text name=consignee required="true" autocomplete="off"
															vtype="name">
													</TD>
												</TR>
												<TR>
													<TH>
														<EM>*</EM>手机：
													</TH>
													<TD>
														<INPUT id=mobile class="x-input inputstyle" size=30 value="${consigneehistory.mobile}"
															type=text name=mobile autocomplete="off" vtype="text">
													</TD>
												</TR>
												<TR>
													<TH>
														固定电话：
													</TH>
													<TD>
														<INPUT class="x-input inputstyle" size=30 type=text value="${consigneehistory.phone }"
															name=phone autocomplete="off" vtype="order_tel">
														<SPAN class=infotips>其中联系电话和联系手机必须填写一项</SPAN>
													</TD>
												</TR>
											</TBODY>
										</TABLE>
									</DIV>
									<DIV class=division>
										<TABLE class=forform border=0 cellSpacing=0 cellPadding=0
											width="100%">
											<TBODY>
												<TR>
													<TH>
														<EM>*</EM>地址：
													</TH>
													<TD>
														<TEXTAREA id=addr class=inputstyle rows=2 cols=30 
															name=address required="true">${consigneehistory.address }</TEXTAREA>
													</TD>
												</TR>
												<TR>
													<TH>
														<EM>*</EM>邮政编码：
													</TH>
													<TD>
														<INPUT class="x-input inputstyle" size=30 type=text value="${consigneehistory.postcode }"
															name=postcode required="true" autocomplete="off">
														<input type="hidden" name="method" value="addHistoryAddr">
														<input type="hidden" name="historyId" value="${consigneehistory.id }">
													</TD>
												</TR>
												<TR>
													<TH></TH>
													<TD>
														
														<INPUT value=保存 type=submit name=submit>
														<INPUT onclick="window.location='/safeai/front/userinfo.do?method=queryMemberAddr'"
															value=取消 type=button>
													</TD>
												</TR>
											</TBODY>
										</TABLE>
									</DIV>
								</DIV>
							</FORM>
						</DIV>
					</DIV>

					<!-- end---------------------------------- -->

				</DIV>
			</DIV>
		</DIV>


		<div class="clear"></div>
		<%@ include file="/pages/safeai/view/common/foot.jsp"%>
	</body>
</html>